package xxy.com.customview;

import android.app.Application;
import android.content.Context;
import android.os.Handler;
import android.os.Process;
import android.util.Log;

/**
 *
 * Created by Administrator on 2017/12/2.
 */

public class MyApp extends Application {

    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
        Log.e("MyApp", "" + Process.myPid());
    }

    public static Context getContext() {
        return mContext;
    }

    public static long getMainThreadId() {
        return 0;
    }

    public static Handler getMainThreadHandler() {
        return null;
    }
}
